import React from 'react'

//商品列表
export async function apiGetGoodsList(params) {
    return await React.$post('/management/goodsInfo/goodsList', params);
}

// 查询sku
export async function apiGetGoodsDetail(params) {
    return await React.$post('/management/goodsInfo/getGoodsDetail', params);
}
//分页查询
export async function apiPage(params) {
    return await React.$post('/management/marketingCutprice/page', params);
}
// 上架-下架
export async function apiDisplay(params) {
    return await React.$post('/management/marketingCutprice/display', params);
}
// 删除
export async function apiDel(params) {
    return await React.$post('/management/marketingCutprice/del', params);
}
// 查看
export async function apiView(params) {
    return await React.$post('/management/marketingCutprice/view', params);
}

// 修改信息
export async function apiEdit(params) {
    return await React.$post('/management/marketingCutprice/edit', params);
}

// 增加
export async function apiAdd(params) {
    return await React.$post('/management/marketingCutprice/add', params);
}
// 获取所有
export async function apiList(params) {
    return await React.$post('/management/marketingCutprice/list', params);
}
// 砍价参与用户列表
export async function apiMarketingCutpriceRefPage(params) {
    return await React.$post('/management/marketingCutpriceRef/page', params);
}
// 砍价活动帮砍人列表 
export async function apiHelpCutpriceRecordPage(params) {
    return await React.$post('/management/helpCutpriceRecord/page', params);
}
// 导出限时砍价列表
export async function apiExportCutpriceOrder(params) {
    return await React.$post('/management/marketingCutprice/exportCutpriceOrder', params);
}
// 砍价黑名单分页查询
export async function apiMarketingCutpriceBlacklistPage(params) {
    return await React.$post('/management/marketingCutpriceBlacklist/page', params);
}
// 加入/移除黑名单
export async function apiAddCutPriceBlacklist(params) {
    return await React.$post('/management/marketingCutpriceBlacklist/addCutPriceBlacklist', params);
}
// 查看砍价难度配置
export async function apiGetConfigPlatformSet(params) {
    return await React.$post('/management/configPlatformSet/getConfigPlatformSet', params);
}
// 修改砍价难度配置
export async function apiGetConfigPlatformSetEdit(params) {
    return await React.$post('/management/configPlatformSet/edit', params);
}
